import {
  validatePresence,
  validateLength,
  validateConfirmation,
  validateNumber,
  validateFormat
} from 'ember-changeset-validations/validators';

export default {
  remark: [
    validatePresence({ presence: true, message: '规定细则不能为空' }),
    validateLength({ max: 50 , message: '规定细则最多50个字' })
  ],
  money:[
    validatePresence({ presence: true, message: '金额不能为空' }),
    // validateNumber({ integer: true, message: '金额必须为整数'  }),
  ],

};
